home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / unzip42.zip / ATARI.ZIP / README.SRC < prev    next >
Text File  |  1992-02-11  |  3KB  |  82 lines

  1. UNZIP 4.1 source code for the Atari ST
  2. ======================================
  3.  
  4. The source code for UNZIP 4.1 (or later) is available through
  5. anonymous ftp from:
  6.  
  7.     simtel20.army.mil    misc/unix/unzip41.*
  8. or    wuarchive.wustl.edu    mirrors/misc/unix/unzip41.*
  9.  
  10. I have compiled unzip.prg with TURBO C 2.0 for the ATARI ST, probably
  11. the best C compiler available for the Atari ST.
  12.  
  13. My modifications to unzip:
  14.  
  15. 1) ATARIST.PAT
  16.     - an alignment problem in the data (unzip.c)
  17.  
  18.     - set '\' as the path character for the Atari ST (mapname.c)
  19.  
  20.     - additions to unzip.h so that Turbo C for the Atari ST is  happy.
  21.       I think I didn't break anythig else, at least the Sun's version
  22.       compiles just as before.
  23.       I commented massively in unzip.h because the configuration
  24.           is not well thought out.  The last time I generated the ST
  25.           version I threw out all the mess, the result of which was that
  26.           my version wasn't distributed.  I hope that will fit in better
  27.           this time.  If anybody cares about the comments, just clean up
  28.           the code (together with comments).
  29.  
  30. 2) OPTIMIZE.PAT
  31.     This patch is general and not related to the Atari ST.
  32.     It speeds up the processing by as much as 30% by
  33.     eliminating many function calls, optimizing some
  34.     macros and using a ULONG bitbuffer.  The claimed
  35.     performance gain is on a Sun, using unzip -t some-file.
  36.     I didn't measure the speed on the Atari ST.
  37.  
  38. 3) SYMLINK.PAT
  39.     This applies to unix systems only.  Unzip does extract
  40.     symbolic links correctly now.
  41.  
  42. 4) UNIXBLAN.PAT
  43.     On Unix systems, file names may contain blanks.
  44.     If they do, why not allow them to be restored exactly?
  45.     For all other systems still change the blanks to '_'.
  46.  
  47. Due to historic reasons the order these patches were applied is
  48.  3 - 4 - 1 - 2.  However they do not overlap and can therefore be
  49. applied independently.
  50.  
  51. I am providing UNZIP.PRG for the Atari ST as UNZIP41.ARC
  52. for those who don't have any unzipper yet.
  53.  
  54. Special features:
  55. =================
  56.  
  57.  Unzip.prg uses a special version of the startup file which is capable
  58.  of recognizing extended parameters a la Beckemeyer/Mark Williams shell,
  59.  using the "ARGV=" Environment variable.
  60.  
  61.  Although the Turbo C compiler is quite good, the libs are buggy!
  62.  Therefore I cannot garantee that any unzip.prg compiled with Turbo C
  63.  will ever run successfully. Mine seems to be ok., but I have fixed
  64.  various problems for my lib. Especially the stat() was making trouble.
  65.  
  66. However, if someone wants to compile it the same way I did,
  67. there are essentially 3 ways:
  68. - using a shell, and the command line compiler TCC,
  69.   as indicated by the script 'MAKEIT',
  70.  
  71. - using some sort of make and 'MAKEFILE.ST'
  72.   This and the previous case both require also 'TLINK.OPT'
  73.  
  74. - using the interactive version 'TC' of Turbo C and
  75.   the supplied 'UNZIP.PRJ'.
  76.  
  77. Please read the note above about problems which might arise
  78. when you recompile unzip on your Atari.
  79.  
  80.                     martin@atlantic.cs.unb.ca
  81.  
  82.